package com.iafme.dto.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.systemframework.jackson.CustomDecimalSerialize;
import com.systemframework.jackson.DataMaskingSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author summer
 * @version 1.0
 * @date 2025/3/24 14:13
 */
@Data
public class MemberOrderResDTO implements Serializable {

    private Integer id;

    private String orderNo;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date examTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date payTime;

    private String details;

    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal cost;

    private String admissionNum;

    private String name;

    private String egName;

    @JsonSerialize(using = DataMaskingSerializer.class)
    private String idCard;

    private String igAasId;

    private List<MemberOrderCourseResDTO> courseResDTOList;

    private String  showingsName;

    private String projectName;

    private String city;

    private String address;

    private String seatNum;

}
